Copy the folder with the desired language into the mod folder, activate it when creating a world, or add a text "only18+" at the end of the mods.json file in the folder with the saved world.